﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace fivescomplement.Models
{
    public class User
    {
        [Required(ErrorMessage = "UserName is required")]
        public string UserID { get; set; }

        [Required(ErrorMessage = "Password is required")]
        public string Psw { get; set; }

        public string Salt { get; set; }

        public string FirstName { get; set; }

        public int UserRole { get; set; }

    }


    public class ClassQuestion
    {
        public int InstitutionID { get; set; }
        public int CourseID { get; set; }
        public Boolean Completed { get; set; }
        public int? QuestionTypeID { get; set; }
        public int QuestionID { get; set; }
        public string Question { get; set; }
    }


}


